<?php
	class MessageDao extends BaseDao {

		public function __construct($dns, $username, $password) {
			parent::__construct($dns, $username, $password);

			$this->mapping = new Mapping("Message", "t_message", array("idMessage"),
				array("idMessage","userFrom","userTo","subject","message","sent"),
				array("id_message","id_user_from","id_user_to","subject","message","sent")
			);
		}

}